package enum

type ResponseType int

const (
	OperateOK   ResponseType = 200
	OperateFail ResponseType = 500
)

func (r ResponseType) String() string {
	switch r {
	case OperateOK:
		return "OK"
	case OperateFail:
		return "Fail"
	default:
		return "UNKNOWN"
	}
}
